package cn.itcast.ssm.mapper;

import cn.itcast.ssm.po.CollectName;
import cn.itcast.ssm.po.CollectNameExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CollectNameMapper {
    long countByExample(CollectNameExample example);

    int deleteByExample(CollectNameExample example);

    int deleteByPrimaryKey(Integer collectType);

    int insert(CollectName record);

    int insertSelective(CollectName record);

    List<CollectName> selectByExample(CollectNameExample example);

    CollectName selectByPrimaryKey(Integer collectType);

    int updateByExampleSelective(@Param("record") CollectName record, @Param("example") CollectNameExample example);

    int updateByExample(@Param("record") CollectName record, @Param("example") CollectNameExample example);

    int updateByPrimaryKeySelective(CollectName record);

    int updateByPrimaryKey(CollectName record);
}